<?php

/*
 * This file is part of the Geek-Zoo Projects.
 *
 * @copyright (c) 2010 Geek-Zoo Projects More info http://www.geek-zoo.com
 * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License
 * @author quqiang <quqiang@geek-zoo.com>
 *
 */
require_once ROOT_PATH.'/Abstract/front_abstract.php';

class Action extends front_abstract
{
	function index()
	{
		$cid = _POST('id');
		$comment = urldecode(_POST('con'));
		$id = _POST('sid');
		$param = array('cid'=>$cid, 'comment'=>$comment, 'id'=>$id, 'without_mention'=>0);
		$return = $this->api->statuses_reply($this->access_token,  $param);
		
        if (_POST('item') == 1) {            
			$msg = $this->api->update($this->access_token, $comment);
        }
	}
}



?>